﻿using System; using HISModels.ViewModel;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using KeanuMvc.Reference;
using HIS.Utils;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using HISModels.Entities;
using System.Configuration;
using HIS.Utils.Securities;

namespace HIS.Controllers.Master
{
    public class Items : HIS.Controllers.AppBaseController
    {

        #region Fields
        private string strItem = string.Empty;
        private string strNotification = string.Empty;


        #endregion

        #region Items
        public Items()
        {
            Data.Add("Pagetitle", "Items");

        }

        [HIS.Utils.Securities.Authorization(RoleAction = "master-items")]
        public override void Index()
        {
            try
            {
                Data["Pagetitle"] += " :: Master Items";
                RenderFile("Master\\itemgroups\\items.html");
            }
            catch (Exception ex)
            {
                HttpContext.Current.Response.Write(ex.Message);
            }
        }




        #endregion



    }
}